moduleAplicacao.controller("contato", function($scope, $window, contatoService) {

    var ng = $scope.ctrl_contato = {};
    $scope.headerTitle = $scope.getProperty('contato');

    ng.contato = {};
    
    ng.assuntos = [
		{value: 'duvidas', displayName: $scope.getProperty('duvidas')},
	    {value: 'sugestoes', displayName: $scope.getProperty('sugestoes')},
		{value: 'reclamacoes', displayName: $scope.getProperty('reclamacoes')}
    ]
        
    ng.init = function(){
    	
    };
    
    ng.save = function() {
    	contatoService.save(ng.contato, function(data) {
    		alert(data);
        });
    };

    
    ng.init();
});

